package UserGift.model;


import org.hibernate.annotations.Proxy;

import javax.persistence.Entity;
import java.util.List;

@Entity
@Proxy(lazy = false)
public class UserGifts {
    private int user_id;
    private List gifts;

    public UserGifts() {
    }

    public UserGifts(int user_id, List gifts) {
        this.user_id = user_id;
        this.gifts = gifts;
    }

    public int getUser_id() {
        return user_id;
    }

    public List getGifts() {
        return gifts;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setGifts(List gifts) {
        this.gifts = gifts;
    }
}
